<?php
/**
 * 库存挪用申请审核
 * (model)
 */

namespace App\Models\Inventory;

use App\Models\Basics\SysArea;
use App\Models\Product\ProductSku;
use Illuminate\Database\Eloquent\Model;
class TransferAudit extends Model
{
    protected $table = 'inventory_transfer';

    protected $guarded = [];

    public $timestamps = false;

    public function oArea(){
        return $this->belongsTo(SysArea::class,'oarea_id');
    }

    public function iArea(){
        return $this->belongsTo(SysArea::class,'iarea_id');
    }

    public function sku(){
        return $this->belongsTo(ProductSku::class,'psku_id');
    }
}
